Converts all characters in a String to uppercase characters.
Syntax |
|---|
|
result = Uppercase( value ) |
|
result = stringVariable.Uppercase( ) |
Parameters |
||
|---|---|---|
|
value |
The original string. |
|
Return Value |
||
|---|---|---|
|
Result |
A copy of the original string with all characters converted to their uppercase equivalent. |
|
Notes
Returns the string with all alphabetic characters in uppercase.
Examples
The example below converts the value passed to uppercase.
Dim s As String
s=Uppercase("tHe Quick fOX") //returns "THE QUICK FOX"
s=Uppercase("the 5 lazy dogs") //returns "THE 5 LAZY DOGS"
s=Uppercase("tHe Quick fOX") //returns "THE QUICK FOX"
s=Uppercase("the 5 lazy dogs") //returns "THE 5 LAZY DOGS"
The following example uses the second syntax.